<template>
  <div class="qwwe"></div>
</template>
<script setup lang="ts">
import { useRoute } from 'vue-router'
const route = useRoute()
// router是执行跳转的 route是路由信息,路由信息就包括了所有的跳转传参
</script>
<script lang="ts">
export default {
  name: 'homePage'
}
</script>

<style scoped>
.qwwe {
  background: url(http://news.cjn.cn/xxxtp/201201/W020120105577646943459.JPG);
  background-position: center;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position-y: 200px;
}
</style>
